home *** CD-ROM | disk | FTP | other *** search
- on EfectoPuerta
- global Punto, Sala, Niv, idioma, pase, video
- if Punto = 175 then
- if pase = 0 then
- puppetSound("M" & string(idioma) & "-4")
- updateStage()
- repeat while soundBusy(1)
- end repeat
- puppetSound(0)
- else
- if pase = 1 then
- set the visible of sprite 33 to 0
- set pase to 2
- end if
- unLoad(label("niv41"), label("niv41") + 296)
- preLoad(label("P" & Niv & "12"), label("P" & Niv & "12") + 6)
- Autoriza()
- go(label("P" & Niv & "12"))
- end if
- else
- if Punto = 435 then
- unLoad(label("niv41"), label("niv41") + 296)
- preLoad(label("P" & Niv & "21"), label("P" & Niv & "21") + 6)
- Autoriza()
- go(label("P" & Niv & "21"))
- else
- if Punto = 281 then
- unLoad(label("niv41"), label("niv41") + 296)
- preLoad(label("P" & Niv & "13"), label("P" & Niv & "13") + 8)
- Autoriza()
- go(label("P" & Niv & "13"))
- else
- if Punto = 805 then
- unLoad(label("niv43"), label("niv43") + 7)
- preLoad(label("P" & Niv & "31"), label("P" & Niv & "31") + 9)
- Autoriza()
- go(label("P" & Niv & "31"))
- else
- if Punto = 5 then
- if video < 5 then
- NoAutoriza()
- else
- unLoad(label("niv41"), label("niv41") + 296)
- preLoad(label("P" & Niv & "ASC"), label("P" & Niv & "ASC") + 9)
- Autoriza()
- go(label("P" & Niv & "ASC"))
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on NoAutoriza
- global idioma
- if idioma = 1 then
- puppetSound("denied")
- else
- if idioma = 2 then
- puppetSound("denegado")
- else
- puppetSound("denerado")
- end if
- end if
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound(0)
- end
-
- on Autoriza
- global idioma
- if idioma = 1 then
- puppetSound("autorized")
- else
- if idioma = 2 then
- puppetSound("autorizado")
- else
- puppetSound("autogizado")
- end if
- end if
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound(0)
- end
-